package br.com.controller;

import java.sql.Connection;
import java.sql.SQLException;
import br.com.dao.LoginDao;

public class LoginController {

	public static boolean login(Connection conn,String login, String senha) throws SQLException{

		LoginDao dao = new LoginDao();

		boolean islogged =  dao.validaLogin(conn,login, senha);

		return islogged;
	}
}
